x = int(input("координата x --> "))
y = int(input("координата y --> "))
n = int(input("увелечение в n раз --> "))
from tkinter import *
coords = [0+x,0+y,10*n+x,0+y,10*n+x,10*n+y,20*n+x,10*n+y,20*n+x,0+y,30*n+x,0+y,30*n+x,20*n+y,0+x,20*n+y]
root = Tk()
root.title("program_7_1.py")
root.geometry("500x500")
canvas = Canvas(bg="orange", width=500, height=500)
canvas.pack(anchor=CENTER, expand=1)
if coords[13] > 500 or coords[12] > 500:
    print("ОШИБКА ")
else:
    canvas.create_polygon(coords)
    root.mainloop()


